package com.cinc.ebc.mm.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cinc.ebc.mm.entity.MmStockTransfer;
import com.cinc.ebc.mm.entity.MmStockTransferDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cinc.ebc.mm.model.MmStockTransferDetailModel;
import com.cinc.ebc.mm.vo.MmStockTransferDetailPage;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 库存调拨明细
 * @Author: jeecg-boot
 * @Date:   2022-06-21
 * @Version: V1.0
 */
public interface MmStockTransferDetailMapper extends BaseMapper<MmStockTransferDetail> {

	public boolean deleteByMainId(@Param("mainId") String mainId);

	public List<MmStockTransferDetail> selectByMainId(@Param("mainId") String mainId);

    List<MmStockTransferDetailModel> selectDetailList(Page<MmStockTransferDetailModel> page,
													  @Param("detail") MmStockTransferDetailPage detailPage,
													  @Param("permissionSql") String permissionSql);
}
